package cn.edu.nju.myweibo.model;

import java.io.Serializable;

import android.graphics.drawable.Drawable;

public class Weibo implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private String text;
	private String picture;
	private User user;
	private Weibo retweeted_status;
	private Drawable drawable;
	
	public Weibo() {
		id = 0;
		text = null;
		picture = null;
		user = null;
		retweeted_status = null;
	}
	
	public Weibo(long id, String text, String picture, User user, Weibo retweeted_status) {
		this.id = id;
		this.text = text;
		this.picture = picture;
		this.user = user;
		this.retweeted_status = retweeted_status;
	}
	
	public long getId() {
		return id;
	}
	
	public void setId(long l) {
		id = l;
	}
	
	public String getText() {
		return text;
	}
	
	public void setText(String s) {
		text = s;
	}
	
	public String getPicture() {
		return picture;
	}
	
	public void sePicture(String s) {
		picture = s;
	}
	
	public User getUser() {
		return user;
	}
	
	public void setUser(User u) {
		user = u;
	}
	
	public Weibo getRetweeted_status() {
		return retweeted_status;
	}
	
	public void setRetweeted_status(Weibo w) {
		retweeted_status = w;
	}
	
	public Drawable getDrawable() {
		return drawable;
	}
	
	public void setDrawable(Drawable d) {
		drawable = d;
	}
	
}
